﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Models
{
    public class devices
    {
        public devices()
        { }
        #region Model
        private int _id;
        private int? _parentid;
        private string _device_code;
        private string _device_name;
        private string _device_position;
        private string _device_type;
        private string _device_mode;
        private string _device_factory;
        private DateTime? _install_time;
        private int? _oil_id;
        private int? _sensor_id;
        private int? _parameter_id;
        private int? _warn_id;
        private string _warn_ids;
        private DateTime? _create_time;
        private int? _flag;
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? parentid
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        /// <summary>
        /// 设备编号
        /// </summary>
        public string device_code
        {
            set { _device_code = value; }
            get { return _device_code; }
        }
        /// <summary>
        /// 设备名称
        /// </summary>
        public string device_name
        {
            set { _device_name = value; }
            get { return _device_name; }
        }
        /// <summary>
        /// 设备位置
        /// </summary>
        public string device_position
        {
            set { _device_position = value; }
            get { return _device_position; }
        }
        /// <summary>
        /// 设备类型
        /// </summary>
        public string device_type
        {
            set { _device_type = value; }
            get { return _device_type; }
        }
        /// <summary>
        /// 设备型号
        /// </summary>
        public string device_mode
        {
            set { _device_mode = value; }
            get { return _device_mode; }
        }
        /// <summary>
        /// 生产厂家
        /// </summary>
        public string device_factory
        {
            set { _device_factory = value; }
            get { return _device_factory; }
        }
        /// <summary>
        /// 安装时间
        /// </summary>
        public DateTime? install_time
        {
            set { _install_time = value; }
            get { return _install_time; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? oil_id
        {
            set { _oil_id = value; }
            get { return _oil_id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? sensor_id
        {
            set { _sensor_id = value; }
            get { return _sensor_id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? parameter_id
        {
            set { _parameter_id = value; }
            get { return _parameter_id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? warn_id
        {
            set { _warn_id = value; }
            get { return _warn_id; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? create_time
        {
            set { _create_time = value; }
            get { return _create_time; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? flag
        {
            set { _flag = value; }
            get { return _flag; }
        }
        public string warn_ids
        {
            set { _warn_ids = value; }
            get { return _warn_ids; }
        }
        #endregion Model

    }
}
